package com.wteam.dragon.model.pojo.bean;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @Author 陈晓辉
 * @Date 2020/3/23
 */
@Getter
@Setter
public class AuthorizationUser {
    /**
     * 用户名（账号）
     */
    @NotBlank(message = "账号不能为空")
    private String username;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    @Override
    public String toString() {
        return "{username=" + username + ", password= ******}";
    }
}
